# 1.GET请求和POST请求
#from django.views.decorators.http import require_http_methods
# @require_http_methods(['GET'])
# 通过装饰器限制请求方法
#

# def she(func):
#     def wrapper(id, *args, **kwargs):
#         id = id + 10
#         print('woshele')
#         return func(id, *args)
#     return wrapper
#
# @she
# def say(id):
#     print("i'm dididi" + str(id))
#
# say(3)